<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    姓名：<input type="text"> <br>
    年龄：<input type="text"> <br>
    <button>添加</button>
    <hr>

    <button>删除全部</button>
    <button>删除第一个</button>
    <button>删除最后一个</button>
    <hr>

    <ul>
        <li>tom,21</li>
        <li>jack,24</li>
        <li>mike,18</li>
    </ul>

</body>
</html>